35. Exercise: Update the MainActivity

Update the MainActivity

Exercise Code

Exercise: S06.03-Exercise-PolishingPreferences

Update the MainActivity

Follow the steps Lyla gave and the TODOs in the code to create the Settings Fragment. When you're done, your app should:

SOLUTION:
  • Reload the weather data for the correct location and with the correct units when the settings change.
  • Open the correct location when your user chooses to view it on a map.